package com.siwei.mes.entity.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 字典表(Dict)实体类
 *
 * @author linzi
 * @since 2023-11-25 22:22:20
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_dict")
@ApiModel(value = "Dict", description = "字典表")
public class Dict implements Serializable {
    private static final long serialVersionUID = -70003279128563639L;
    @Id
    @ApiModelProperty(value = "字典表主键ID", name = "id")
    private Long id;
    /**
     * 字典编号
     */

    @Column(name = "dict_code")
    @ApiModelProperty(value = "字典编号", name = "dictCode")
    private String dictCode;
    /**
     * 字典名称
     */

    @Column(name = "dict_name")
    @ApiModelProperty(value = "字典名称", name = "dictName")
    private String dictName;
    /**
     * 排序
     */

    @Column(name = "order_no")
    @ApiModelProperty(value = "排序", name = "orderNo")
    private Integer orderNo;
}
